package com.dormitory.service;

import com.dormitory.po.DormRepair;
import com.dormitory.po.PageInfo;

import java.util.List;


public interface DormRepairService {

    //分页查询
    public PageInfo<DormRepair> findPageInfo(Integer s_dormitoryid, String d_dormbuilding, Integer pageIndex, Integer pageSize);

    public int addDormRepair(DormRepair dormrepair);    //添加宿舍信息

    public int deleteDormRepair(Integer r_id);   //删除宿舍信息

    public int updateDormRepair(DormRepair dormrepair); //修改宿舍信息

    public DormRepair findDormRepairById(Integer r_id);

    public List<DormRepair> getAll();
}
